import java.util.Vector;
import javax.xml.parsers.DocumentBuilderFactory;
import javax.xml.parsers.DocumentBuilder;
import org.w3c.dom.Document;
import org.w3c.dom.NodeList;
import org.w3c.dom.Node;
import org.w3c.dom.Element;
import java.io.File;


public class Dados {

	public string PL;
	public string TAG;
	//public void extraiPL(int Numero){
		
	public void Dados (){
		this.PL = "1";
		this.TAG = "RESUMO";
		return;
	}

	public void Extrai(string TAG, int PL) {
		File fXmlFile = new File("c:\\PL.xml");
		DocumentBuilderFactory dbFactory = DocumentBuilderFactory.newInstance();
		DocumentBuilder dBuilder = dbFactory.newDocumentBuilder();
		Document doc = dBuilder.parse(fXmlFile);
		doc.getDocumentElement().normalize();
		NodeList nList = doc.getElementsByTagName("PL"+PL);
		return getTagValue(Tag, eElement);

	}

}
